package com.scs.application.modules.wm.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.core.query.QueryContext;
import com.scs.application.core.service.BaseServiceImpl;
import com.scs.application.modules.wm.entity.PickItem;
import com.scs.application.modules.wm.mapper.PickItemMapper;
import com.scs.application.modules.wm.service.PickItemService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 科室请领单明细 服务实现类
 * </p>
 */
@Service
public class PickItemServiceImpl extends BaseServiceImpl<PickItemMapper, PickItem> implements PickItemService {


    /*科室退货批量选择*/
    @Override
    public IPage pageDeptReturn(QueryContext queryContext, Map<String, Object> userParam) {
        QueryWrapper wrapper = queryContext.getWrapper();
        return this.baseMapper.pageDeptReturn(queryContext.getPage(), wrapper, userParam);
    }
}
